Why does py2exe remove `help` and `license`?
Posted
by cool-RR
on Stack Overflow
See other posts from Stack Overflow
or by cool-RR
Published on 2010-05-09T22:46:50Z
Indexed on
2010/05/09
22:58 UTC
Read the original article
Hit count: 178
I packaged my Python app with py2exe. My app is a wxPython GUI, in which there is an interactive Python shell.
I noticed that I can't do help(whatever)
in the shell. I investigated a bit and discovered that after the py2exe process, 3 items were missing from __builtin__
. These are help
, license
, and another one I haven't discovered.
Why is this happening and how can I stop it? I want the users of my program to be able to use the help
function of Python.
© Stack Overflow or respective owner